﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace _8_21_Classwork_Cafe.Models
{
    public class Singleton
    {
        private static readonly Singleton instance = new Singleton();
        public List<CafeShop> Shops { get; set; }
        static Singleton() { }
        private Singleton(){
            Shops = new List<CafeShop>(){
		new CafeShop("Starbucks", "It's Green and misspelled names on purpose","https://pbs.twimg.com/profile_images/378800000609967087/e2d47eea47025ad0d75939f12390648a_400x400.jpeg","address 1","123-456-7890"),
		new CafeShop("Dunkin Donuts","Super slow service","http://assets.fontsinuse.com/static/use-media-items/10/9038/full-1452x590/52cb2161/dunkin-donuts-logo1.jpeg","address 2","412-234-5677"),
		new CafeShop("Alex Millers Coffee House","Horaaaay!!!","https://www.codercamps.com/bootstrap/images/people-3.jpg","address 3","911"),
        new CafeShop("Starbanks", "It's Green and misspelled names on purpose","https://pbs.twimg.com/profile_images/378800000609967087/e2d47eea47025ad0d75939f12390648a_400x400.jpeg","address 1","123-456-7890"),
		new CafeShop("Super Donuts","Super slow service","http://assets.fontsinuse.com/static/use-media-items/10/9038/full-1452x590/52cb2161/dunkin-donuts-logo1.jpeg","address 2","412-234-5677"),
		new CafeShop("Alex Millers Beer House","Horaaaay!!!","https://www.codercamps.com/bootstrap/images/people-3.jpg","address 3","911")
		};
        }
        public static Singleton Instance 
        { 
            get 
            { 
                return instance; 
            } 
        }
    }
}